﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace OilDBAPP
{
    public partial class main_Form : Form
    {
        public main_Form()
        {
            InitializeComponent();
        }

        private void main_Form_Load(object sender, EventArgs e)
        {
            Form f2 = new home_Form();

            f2.TopLevel = false;
            f2.FormBorderStyle = FormBorderStyle.None;
            f2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel1.Controls.Add(f2);
            f2.Show();
        }
    }
}
